/*
 * Copyright 2011 The Rusted Roof, LLC.
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

package org.proteusframework.platformservice.persistence.basic.messages;

import java.sql.Time;
import java.sql.Timestamp;
import java.util.Date;

public class TemporalTypesPOJO
{
    private long id;

    private Date date;
    private Time time;
    private Timestamp timestamp;

    private Date dateAsTime;
    private Date dateAsTimestamp;

    public long getId()
    {
        return id;
    }

    public void setId(long id)
    {
        this.id = id;
    }

    public Date getDateAsTime()
    {
        return dateAsTime;
    }

    public void setDateAsTime(Date dateAsTime)
    {
        this.dateAsTime = dateAsTime;
    }

    public Date getDateAsTimestamp()
    {
        return dateAsTimestamp;
    }

    public void setDateAsTimestamp(Date dateAsTimestamp)
    {
        this.dateAsTimestamp = dateAsTimestamp;
    }

    public Date getDate()
    {
        return date;
    }

    public void setDate(Date date)
    {
        this.date = date;
    }

    public Time getTime()
    {
        return time;
    }

    public void setTime(Time time)
    {
        this.time = time;
    }

    public Timestamp getTimestamp()
    {
        return timestamp;
    }

    public void setTimestamp(Timestamp timestamp)
    {
        this.timestamp = timestamp;
    }
}
